/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.devmng.dao;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.devmng.entity.DevchkItemAnswer;
import com.thinkgem.jeesite.modules.devmng.vo.DevchkItemAnswerResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 设备检修项与检修结果类型的关系DAO接口
 *
 * @author panda
 * @version 2017-12-02
 */
@MyBatisDao
public interface DevchkItemAnswerDao extends CrudDao<DevchkItemAnswer> {

    int deleteByDevchkItemId(@Param("devchkItemId") String devchkItemId);

    List<DevchkItemAnswer> listByDevchkItemId(@Param("devchkItemId") String devchkItemId);

    List<DevchkItemAnswerResponse> listByDevchkItemIds(List<String> devchkItemIds);

}